package com.zjw.springconsumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(value = "spring-hello",fallback = HelloServiceImpl.class)
public interface HelloService {

    @GetMapping(value = "/hello/hello")
    Map<String,String> hello();
}
